#ifndef INSERTDATABASE_H
#define INSERTDATABASE_H

#include <QObject>
#include <QSqlQuery>
#include <QSqlError>
#include <QMessageBox>
#include <QVariant>

class InsertDataBase : public QObject
{
    Q_OBJECT

public:
    InsertDataBase();
    ~InsertDataBase();

    void insertSpell    (QString name, int deg_min, int deg_rand, QString str_D, int id_effect, int time_inc, int conso_mana);
    void insertElement  (QString name, QString description);
    void insertEffect   (QString name, QString description);
    void insertClass    (QString name, double hp, double mana);
    void insertRace     (QString name, double hp, double mana);

};

#endif // INSERTDATABASE_H
